package main

import (
	"GoByExample/057-NetHttp/handler"
	"net/http"
)

func main() {
	const ADDR string = "0.0.0.0:8080"
	http.Handle("/", handler.NewIndex())
	http.Handle("/bye", handler.NewBye())
	http.Handle("/wel", handler.NewWelcome())

	http.ListenAndServe(ADDR, nil)
}
